import axios from "axios";

const instance = axios.create({
    baseURL: "http://rap2.taobao.org:38080/app/mock/263823/",
});

export function getCPUCount() {
  return instance({
    url: "/CPUCount",
    method: "get",
  });
}
export function getMemoryCount() {
  return instance({
    url: "/MemoryCount",
    method: "get",
  });
}
export function getWEBCount() {
  return instance({
    url: "/WEBCount",
    method: "get"
  });
}
export function getDiskCensus() {
  return instance({
    url: '/DiskCensus',
    method: 'get'
  })
}

export function getUser() {
  return instance({
    url: '/User',
    method: 'get'
  })
}

export function getApplication() {
  return instance({
    url: '/Application',
    method: 'get'
  })
}
